package top.waikin.springbootjpa.entity;

import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.jpa.domain.AbstractPersistable;

import javax.persistence.Entity;
import java.time.LocalDateTime;

/**
 * @author WaiKin
 * @date 2022/11/30
 */
@Getter
@Setter
@ToString
@RequiredArgsConstructor
@Entity
public class Test extends AbstractPersistable<Long> {
    private String name;
    private Integer number;
    private LocalDateTime dateTime;
    private Boolean bool;
}
